﻿<UserControl x:Class="SymulatorEthernetWPF.SimObjects.Devices.DeviceControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" Width="96" Height="83" MinWidth="96"
             MinHeight="83" MaxWidth="96" MaxHeight="83" MouseDown="UserControlMouseDown" Loaded="UserControlLoaded" MouseEnter="UserControlMouseEnter"
             MouseLeave="UserControlMouseLeave">
  <Grid>
    <Border BorderBrush="Silver" BorderThickness="1" Name="selectionBox" CornerRadius="3" Background="#1C4F6E93" />
    <Border BorderBrush="Silver" BorderThickness="1" Name="hoverBox" CornerRadius="3" Background="#4E4F6E93" />
    <Image Height="48" HorizontalAlignment="Left" Margin="16,12,0,0" Name="icon" Stretch="Fill"
           VerticalAlignment="Top" Width="64" MouseLeftButtonDown="IconMouseDown"
           MouseRightButtonDown="IconMouseRightButtonDown">
      <Image.ContextMenu>
        <ContextMenu>
            <MenuItem Header="Usuń" Name="deviceControlContextMenu_delete"
                    Click="DeviceControlContextMenuDeleteClick"/>
            <MenuItem Header="Pokaż odebrane" Name="deviceControlContextMenu_showReceived"
                    Click="DeviceControlContextMenuShowReceivedClick"/>
            <MenuItem Header="Właściwości" Name="deviceControlContextMenu_properties"
                    Click="DeviceControlContextMenuPropertiesClick"/>
         </ContextMenu>
      </Image.ContextMenu>
        </Image>
        <Label Content="dummy" Name="deviceLabel" HorizontalContentAlignment="Center" Margin="4,0" FontWeight="Bold"
                VerticalAlignment="Bottom" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="4,11,0,0" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="4,25,0,0" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="4,39,0,0" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="4,53,0,0" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="84,11,0,0" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="84,25,0,0" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="84,39,0,0" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="84,53,0,0" Stroke="Black" VerticalAlignment="Top" Width="8" />

        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="4,11,0,0" Name="networkInterface1Handler"
               Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="4,25,0,0" Name="networkInterface2Handler"
               Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="4,39,0,0" Name="networkInterface3Handler"
               Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="4,53,0,0" Name="networkInterface4Handler"
               Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="84,11,0,0"
               Name="networkInterface5Handler" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="84,25,0,0"
               Name="networkInterface6Handler" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="84,39,0,0"
               Name="networkInterface7Handler" Stroke="Black" VerticalAlignment="Top" Width="8" />
        <Rectangle Fill="Black" Height="8" HorizontalAlignment="Left" Margin="84,53,0,0"
               Name="networkInterface8Handler" Stroke="Black" VerticalAlignment="Top" Width="8" />
        
    </Grid>
</UserControl>